﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Timers;

namespace ActionLogic
{
    /// <summary>
    /// Executable action executed by timer with required interval.
    /// </summary>
    public interface ITimingExecutable
    {
        /// <summary>
        /// Interval time in milliseconds.
        /// </summary>
        long TimeInterval { get; set; }

        void Start();

        void Pause();

        void Stop();
    }
}
